package com.rr.sc.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.rr.sc.model.User;

@Repository
public interface UserDao {
    public void saveOrUpdate(User user);

    public User get(Long id);

    public void delete(User user);

    public List<User> getAll();

    public User get(String username);
}
